/**
 * 基础图层的css
 */
.maplayer-control {
  width: 100%;
  min-height: 100px;
  border-bottom: 1px solid #ddd;
  padding-left: 7px;

  @title-height: 40px;
  .title {
    position: relative;    
    height: @title-height;

    .main {
      color: #555;
      margin-left: 7px;
      font: normal normal normal 14px/@title-height 'microsoft yahei';
    }

    .options {
      width: 70px;
      height: 100%;
      float: right;
      padding-top: 10px;
      box-sizing: border-box;

      .opt {
        width: 18px;
        height: 16px;
        display: block;
        float: left;
        background-color: transparent;
        background-repeat: no-repeat;
        background-position: center center;

        &.l1 {
          background-image: url(imgs/components/layer-option/1.png);
        }
        &.l2 {
          background-image: url(imgs/components/layer-option/2.png);
        }
      }

      .anticon-ellipsis {
        font-size: 22px;
        cursor: pointer;
      }
    }
  }
}

.eye {
  width: 26px;
  height: 100%;
  background: transparent url(imgs/components/eye.png) no-repeat center center;
  float: left;
  cursor: pointer;

  &.close {
    background-image: url(imgs/components/eye_close.png);
  }
}

.map {
  position: relative;
  @toolbox-height: 35px;
  .control-back {
    height: @toolbox-height;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 3px;
    box-shadow: 3px 3px 8px #ccc;
    z-index: @z-index;
    padding: 0 10px;
  }
  .toolbox {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 100px;
    .control-back;

    .btn-tool {
      min-width: 60px;      
      height: 100%;
      background-color: transparent;
      background-repeat: no-repeat;
      background-position: 0 center;
      float: left;
      cursor: pointer;

      &:hover, &.active {
        span {
          color: #568FE3;
        }
      }

      span {
        color: #666;
        margin-left: 17px;
        font: normal normal normal 14px/@toolbox-height 'microsoft yahei';
      }

      &.add-point {
        background-image: url(imgs/components/layer-option/add-point.png);
      }
      &.add-region {
        background-image: url(imgs/components/layer-option/add-region.png);
      }
      
      &.pan-map {
        background-image: url(imgs/components/layer-option/pan-map.png);
      }
      &.measure {
        background-image: url(imgs/components/layer-option/measure.png);
      }
    }
  }

  .city-control {
    position: absolute;
    left: 15px;
    top: 10px;
    width: 63px;
    .control-back;

    .title {
      height: 100%;
      > span {
        font: normal normal normal 14px/@toolbox-height 'microsoft yahei';
        color: #555;
      }
    }    

    
  }
}

ul.data-list {
  margin: 10px;
  li {
    color: #568FE3;
    font: normal normal normal 12px/26px 'microsoft yahei';
    cursor: pointer;

    &:hover {
      color: blue;
    }

    &.active {
      color: blue;
      font-weight: bold;
    }
  }
}






